package com.esm.sm800.database.dbmodel;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

//存储仓
@Entity
public class Warehousing {

    @Id(autoincrement = true)
    private Long id;

    private String model = "";//型号

    private String brand = "";//品牌

    private int position = 0;//仓位  0-上 1-中 2-下

    private int stock = 0; //库存

    private int sort = 0; //排序

    private String creat_time = "";

    private String update_time = "";

    @Generated(hash = 161887530)
    public Warehousing(Long id, String model, String brand, int position, int stock,
            int sort, String creat_time, String update_time) {
        this.id = id;
        this.model = model;
        this.brand = brand;
        this.position = position;
        this.stock = stock;
        this.sort = sort;
        this.creat_time = creat_time;
        this.update_time = update_time;
    }

    @Generated(hash = 1409027642)
    public Warehousing() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModel() {
        return this.model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getBrand() {
        return this.brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getPosition() {
        return this.position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getStock() {
        return this.stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getSort() {
        return this.sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getCreat_time() {
        return this.creat_time;
    }

    public void setCreat_time(String creat_time) {
        this.creat_time = creat_time;
    }

    public String getUpdate_time() {
        return this.update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

}
